package com.xbongbong.paas.lowcode;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.actionsetting.pojo.dto.LowCodeActionSettingAddDTO;
import com.xbongbong.pro.actionsetting.pojo.dto.LowCodeActionSettingGetDTO;
import com.xbongbong.pro.actionsetting.pojo.dto.LowCodeActionSettingListDTO;
import com.xbongbong.pro.actionsetting.pojo.dto.LowCodeFieldActionGetDTO;
import com.xbongbong.pro.actionsetting.pojo.vo.LowCodeActionSettingAddVO;
import com.xbongbong.pro.actionsetting.pojo.vo.LowCodeActionSettingGetVO;
import com.xbongbong.pro.actionsetting.pojo.vo.LowCodeActionSettingListVO;
import com.xbongbong.pro.actionsetting.pojo.vo.LowCodeFieldActionGetVO;

/**
 * @author 吴峰
 * @date 2021/03/04 15:18
 */
public interface LowCodeActionSettingService {


    /**
     *  字段的动作
     * @param lowCodeFieldActionGetDTO
     * @return com.xbongbong.pro.actionsetting.pojo.vo.LowCodeFieldActionGetVO
     * @author 吴峰
     * @date 2021/3/4 19:35
     * @throws XbbException
     */
    LowCodeFieldActionGetVO getFieldActionList(LowCodeFieldActionGetDTO lowCodeFieldActionGetDTO) throws XbbException;
    /**
     * 字段或者表单获取低代码动作
     * @param lowCodeActionSettingListDTO
     * @return
     * @throws XbbException
     */
    LowCodeActionSettingListVO fieldList(LowCodeActionSettingListDTO lowCodeActionSettingListDTO) throws XbbException;
    /**
     * 字段或者表单获取低代码动作
     * @param lowCodeActionSettingGetDTO
     * @return
     * @throws XbbException
     */
    LowCodeActionSettingGetVO get(LowCodeActionSettingGetDTO lowCodeActionSettingGetDTO) throws XbbException;
    /**
     * 添加字段或者表单获取低代码动作
     * @param lowCodeActionSettingAddDTO
     * @return
     * @throws XbbException
     */
    LowCodeActionSettingAddVO add(LowCodeActionSettingAddDTO lowCodeActionSettingAddDTO) throws XbbException;
}
